#ifndef THREADS_H
#define THREADS_H

#ifdef WIN32
#include <process.h>
#include <windows.h>
#else
#include <pthread.h>
#endif

#ifndef WIN32
typedef void* LPVOID;
typedef void* (*PTHREAD_START_ROUTINE)(LPVOID);
typedef PTHREAD_START_ROUTINE LPTHREAD_START_ROUTINE;
#endif

class Threads
{
public:
	Threads(void);
	~Threads(void);

	static bool New(LPTHREAD_START_ROUTINE handler, LPVOID arg);
};

#endif